<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title><?=$title?></title>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="title" content="<?=$title?>" />
	<meta name="keywords" content="<?=$keywords?>" />
	<meta name="description" content="<?=$description?>" />
<?php foreach ($styles as $style => $media) echo "\t", HTML::style($style), "\n" ?>
<?php foreach ($scripts as $script) echo "\t", HTML::script($script), "\n" ?>
</head>
<body>
	<div id="wrapper">
		<ul id="lang">
			<li class="ru-ru">RU</li>
			<li class="en-us">EN</li>
		</ul>
		<div id="header">
			<ul id="profile">
				<li class="register"><a href="/user/register/" title=""><?=__('Registration')?></a></li>
				<li class="login"><a href="/user/login/" title=""><?=__('Login')?></a></li>
			</ul>
			<div id="header-menu">
				<div id="search">
					<form action="/search/" method="get">
						<input type="image" src="/public/img/button-search.png" id="searchsubmit" />
						<div class="container">
							<input type="text" name="keyword" value="<?=__('Search')?>..." size="10" class="search" onfocus="if (this.value == '<?=__('Search')?>...') this.value = '';" />
						</div>
					</form>
				</div>
				<ul>
					<li class="blog"><a href="/blog/" title="">Блог</a></li>
					<li class="rss"><a href="/blog/rss/" title="">RSS</a></li>
				</ul>
			</div>
		</div>
		<ul id="breadcrumb">
<?php foreach ($breadcrumb as $link => $title): ?>
			<li><?php echo is_int($link) ? $title : HTML::anchor($link, $title) ?></li>
<?php endforeach ?>
		</ul>
		<div class="clear"></div>
		<div id="content">
			<?=$content?>
		</div>
		<div id="footer"></div>
	</div>
</body>
</html>